home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950726-19950929 / 000095_news@columbia.edu_Sat Aug 5 07:54:34 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA12991
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 6 Aug 1995 05:59:42 -0400
  3. Received: by apakabar.cc.columbia.edu id AA19130
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 6 Aug 1995 05:59:41 -0400
  5. Path: news.columbia.edu!news.cs.columbia.edu!pipeline!uunet!in2.uu.net!news.sprintlink.net!newsfeed.internetmci.com!news.mathworks.com!news.kei.com!nntp.et.byu.edu!news.byu.edu!hamblin.math.byu.edu!park.uvsc.edu!news.provo.novell.com!news.cs.utah.edu!cc.usu.edu!jrd
  6. From: jrd@cc.usu.edu (Joe Doupnik)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: HELP: dynamicaly assigned address
  9. Message-Id: <1995Aug5.135434.58145@cc.usu.edu>
  10. Date: 5 Aug 95 13:54:34 MDT
  11. References: <3vvuv0$mh7@news.csie.nctu.edu.tw>
  12. Organization: Utah State University
  13. Lines: 44
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <3vvuv0$mh7@news.csie.nctu.edu.tw>, jou@nematic.ieo.nctu.edu.tw (Wei-Jou Chen) writes:
  17. > Hello,
  18. >      There is a text which shows the login title in our school.
  19. >          **************************************************************
  20. >          *                                                            *
  21. >          *        Welcome to TANET dialup service at Hsin-Chu         *
  22. >          *                                                            *
  23. >          **************************************************************
  24. >                    0:   Telnet 
  25. >                    1:   alumni   (140.126.237.200) 
  26. >                    2:   educator (140.126.237.201) 
  27. >                    3:   csiebbs  (140.113.17.154) 
  28. >                    4:   cisbbs   (140.113.23.3) 
  29. >                    5:   eebbs    (140.113.218.1) 
  30. >                    6:   PPP 
  31. >                    7:   SLIP 
  32. >                    8:   Exit 
  33. >                    Enter your choice:
  34. > If I enter '7', I got the following two lines.
  35. > Switching to SLIP.
  36. > Annex address is 140.126.237.3.  Your address is 140.126.237.109.
  37. > The addresses are dynamical assigned. How can I get the addresses by using
  38. > kermit script ?
  39. -------------
  40.     You should write a Kermit script which uses the INPUT command to
  41. look for the string of interest (say Your address is) and then manipulate
  42. the \v(input) line (should have the whole line above). String commands
  43. can then strip the unwanted parts. Put the result into the SET TCP ADDRESS
  44. command. These items are discussed in the user's manual, the book 
  45. "Using MS-DOS Kermit."
  46.     The next MSK release will have a specific screen scraper command
  47. to locate IP address numbers.
  48.         Joe D.